package com.forester.foresterplatform.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

import com.forester.foresterplatform.system.entity.BaseEntity;
import org.springframework.data.annotation.Id;

@ApiModel(description = "用户权限实体类")
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("system_permission")

public class Permission extends BaseEntity {

    /**
    * 主键
    */
    @ApiModelProperty("主键")
    @Id
    private Long id;

    /**
    * 权限字符串
    */
    @ApiModelProperty("权限字符串")
    private String name;

}